package com.ruoyi.base.domain;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 果树操作对象 base_tree
 * 
 * @author ruoyi
 * @date 2024-01-20
 */
@Data
public class BaseTree extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    @Excel(name = "编号")
    private Long id;

    /** 果树品种 */
    @Excel(name = "果树品种")
    private String treeType;

    /** 所属地块 */
    @Excel(name = "所属地块")
    private Integer landId;

    /** 果树状态 */
    @Excel(name = "果树状态")
    private String status;

    /** 果树年龄 */
    @Excel(name = "果树年龄")
    private String treeAge;

    @Excel(name = "所属地块")
    private String landName;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTreeType(String treeType) 
    {
        this.treeType = treeType;
    }

    public String getTreeType() 
    {
        return treeType;
    }
    public void setLandId(Integer landId)
    {
        this.landId = landId;
    }

    public Integer getLandId()
    {
        return landId;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setTreeAge(String treeAge) 
    {
        this.treeAge = treeAge;
    }

    public String getTreeAge() 
    {
        return treeAge;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("treeType", getTreeType())
            .append("landId", getLandId())
            .append("status", getStatus())
            .append("remark", getRemark())
            .append("treeAge", getTreeAge())
            .append("createTime", getCreateTime())
            .toString();
    }
}
